package com.campusbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 队伍专家表
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
@Data
@TableName("team_experts")
@Schema(name = "TeamExperts", description = "队伍专家表")
public class TeamExperts {

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "队伍ID")
    private Long teamId;

    @Schema(description = "专家ID（教师ID）")
    private Long expertId;

    @Schema(description = "入驻状态：1-已入驻，0-已退出")
    private Byte joinStatus;

    @Schema(description = "入驻时间")
    private LocalDateTime joinTime;

    @Schema(description = "退出时间")
    private LocalDateTime leaveTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
